package controllers

import (
	"github.com/gogf/gf/net/ghttp"
)

type IndexController struct {
}

func NewIndexController() *IndexController {
	return &IndexController{}
}

func (this *IndexController) Index(r *ghttp.Request) {

	r.Response.Write("Index / index")
}

func (this *IndexController) Route(g *ghttp.RouterGroup) {
	g.GET("/", this.Index)
}
